package ab.mes.service;

import ab.mes.entity.Material;
import ab.mes.tools.Result;

public interface MaterialService {
    //获取一页物料信息
    public Result getMaterial();
    //根据页数获取物料信息
    public Result getMaterialByNumber(Integer id_Of_Material);
    //新增物料信息
    public Result insertMaterial(Material material);
    //根据id删除物料信息
    public Result deleteMaterial(Integer id_Of_Material);
    //修改物料信息
    public Result editMaterial(Material material);
}
